package edu.sandau.basic.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

@Data
@Schema(description = "用户部分更新对象")
public class UserPatchVo {

    @Schema(description = "用户名", example = "user2")
    private String userName;

    @Schema(description = "英文名", example = "user2_en")
    private String enname;

    @Schema(description = "密码", example = "12345678")
    private String password;

    @Schema(description = "手机号", example = "13500001111")
    private String mobile;

    @Schema(description = "邮箱", example = "user2@163.com")
    private String email;

    @Schema(description = "生日", example = "2000-10-10")
    private LocalDate birthday;

    @Schema(description = "头像链接", example = "https://example.com/2.png")
    private String profileUrl;

    private Boolean isActive;
}
